package com.ruoyi.project.information.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 合同模板对象 ry_contract_template
 * 
 * @author 萧雪
 * @date 2022-10-25
 */
public class RyContractTemplate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 合同模板名 */
    @Excel(name = "合同模板名")
    private String name;

    /** 合同内容 */
    private String contractContents;

    /** 创建人 */
    private Long creater;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setContractContents(String contractContents) 
    {
        this.contractContents = contractContents;
    }

    public String getContractContents() 
    {
        return contractContents;
    }
    public void setCreater(Long creater) 
    {
        this.creater = creater;
    }

    public Long getCreater() 
    {
        return creater;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("contractContents", getContractContents())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("creater", getCreater())
            .append("remark", getRemark())
            .toString();
    }
}
